package cn.itcast.weatherapp123.bend;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

/*
    "cityid":"101281901",
    "city":"揭阳",
    "cityEn":"jieyang",
    "country":"中国",
    "countryEn":"China",
    "update_time":"2022-11-16 14:24:15",
* */
public class WeatherBend implements Serializable {

    @SerializedName("cityid")
    private String cityId;

    @SerializedName("city")
    private String city;

    @SerializedName("update_time")
    private String update_time;

    @SerializedName("data")
    private List<DayWeatherBend> dayWeathers;

    public String getCityId() {
        return cityId;
    }

    public void setCityId(String cityId) {
        this.cityId = cityId;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(String update_time) {
        this.update_time = update_time;
    }

    public List<DayWeatherBend> getDayWeathers() {
        return dayWeathers;
    }

    public void setDayWeathers(List<DayWeatherBend> dayWeathers) {
        this.dayWeathers = dayWeathers;
    }

    @Override
    public String toString() {
        return "WeatherBean{" +
                "cityId='" + cityId + '\'' +
                ", city='" + city + '\'' +
                ", update_time='" + update_time + '\'' +
                ", dayWeathers=" + dayWeathers +
                '}';
    }
}
